<?php
	require "settings/config.php";
	require "layout.php";
	require "includes/session.php";
	
	render_header("Login");

	if($_GET['badpass']==1)
	{
		echo "Incorrect username or password. Please try again.";
	}
	else
	{
		echo "<b>Login to ".OH_TITLE.".</b>";
	}
?>
	<br /> <br /> 
	<form action="do_login.php" method="POST">
		Username: <input type="text" name="username" size="32" class="inputbox"> <br /> <br />
		Password: <input type="password" name="password" size="32" class="inputbox"> <br /> <br />
		<input type="submit" class="button" value="Login">
	</form>


<?php
	render_footer();
?>